package day0324;

public class Test4 {
    public static void main(String[] args) {
        for (int year = 1900; year <=2025 ; year++) {
            if( !((year%400==0)||(year%4==0 && year%100 != 0))){//如果year不是闰年就跳过
                //  !  (((year%400整除) || (year能被4整除&&year不能被100整除)))
                continue;
            }
            System.out.println(year);
        }
    }
}